跳到主要内容

CDocBuilderContext

Class used by ONLYOFFICE Document Builder for getting JS context for working.

Syntax

class CDocBuilderContext

Instance Methods

MethodDescription
createArrayCreates an array, an analogue of new Array(length) in JS.
createNullCreates a null value, an analogue of null in JS.
createObjectCreates an empty object, an analogue of {} in JS.
createScopeCreates a context scope.
createUndefinedCreates an undefined value, an analogue of undefined in JS.
getGlobalReturns the global object for the current context.
isErrorChecks for errors in JS.